package com.dingtao.common.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class HomeCateTwo {


    @JSONField(name = "banner")
    private List<BannerDTO> banner;
    @JSONField(name = "category")
    private List<CategoryDTO> category;

    public List<BannerDTO> getBanner() {
        return banner;
    }

    public void setBanner(List<BannerDTO> banner) {
        this.banner = banner;
    }

    public List<CategoryDTO> getCategory() {
        return category;
    }

    public void setCategory(List<CategoryDTO> category) {
        this.category = category;
    }

    @NoArgsConstructor
    @Data
    public static class BannerDTO {
        @JSONField(name = "id")
        private int id;
        @JSONField(name = "shopCode")
        private Object shopCode;
        @JSONField(name = "title")
        private String title;
        @JSONField(name = "type")
        private Object type;
        @JSONField(name = "action")
        private Object action;
        @JSONField(name = "actionPath")
        private String actionPath;
        @JSONField(name = "htmlUrl")
        private String htmlUrl;
        @JSONField(name = "shareUrl")
        private Object shareUrl;
        @JSONField(name = "shareDesc")
        private Object shareDesc;
        @JSONField(name = "imageUrl")
        private String imageUrl;
        @JSONField(name = "isDelete")
        private int isDelete;
        @JSONField(name = "createTime")
        private List<Integer> createTime;
        @JSONField(name = "updateTime")
        private List<Integer> updateTime;
        @JSONField(name = "category")
        private String category;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public Object getShopCode() {
            return shopCode;
        }

        public void setShopCode(Object shopCode) {
            this.shopCode = shopCode;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public Object getType() {
            return type;
        }

        public void setType(Object type) {
            this.type = type;
        }

        public Object getAction() {
            return action;
        }

        public void setAction(Object action) {
            this.action = action;
        }

        public String getActionPath() {
            return actionPath;
        }

        public void setActionPath(String actionPath) {
            this.actionPath = actionPath;
        }

        public String getHtmlUrl() {
            return htmlUrl;
        }

        public void setHtmlUrl(String htmlUrl) {
            this.htmlUrl = htmlUrl;
        }

        public Object getShareUrl() {
            return shareUrl;
        }

        public void setShareUrl(Object shareUrl) {
            this.shareUrl = shareUrl;
        }

        public Object getShareDesc() {
            return shareDesc;
        }

        public void setShareDesc(Object shareDesc) {
            this.shareDesc = shareDesc;
        }

        public String getImageUrl() {
            return imageUrl;
        }

        public void setImageUrl(String imageUrl) {
            this.imageUrl = imageUrl;
        }

        public int getIsDelete() {
            return isDelete;
        }

        public void setIsDelete(int isDelete) {
            this.isDelete = isDelete;
        }

        public List<Integer> getCreateTime() {
            return createTime;
        }

        public void setCreateTime(List<Integer> createTime) {
            this.createTime = createTime;
        }

        public List<Integer> getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(List<Integer> updateTime) {
            this.updateTime = updateTime;
        }

        public String getCategory() {
            return category;
        }

        public void setCategory(String category) {
            this.category = category;
        }
    }

    @NoArgsConstructor
    @Data
    public static class CategoryDTO {
        @JSONField(name = "id")
        private int id;
        @JSONField(name = "caption")
        private String caption;
        @JSONField(name = "cateType")
        private int cateType;
        @JSONField(name = "orderNum")
        private Object orderNum;
        @JSONField(name = "status")
        private int status;
        @JSONField(name = "showIndex")
        private int showIndex;
        @JSONField(name = "icon")
        private String icon;
        @JSONField(name = "owner")
        private int owner;
        @JSONField(name = "showColor")
        private String showColor;
        @JSONField(name = "addBy")
        private Object addBy;
        @JSONField(name = "addTime")
        private Object addTime;
        @JSONField(name = "updateBy")
        private Object updateBy;
        @JSONField(name = "updateTime")
        private Object updateTime;
        @JSONField(name = "parentName")
        private Object parentName;
        @JSONField(name = "remarks")
        private String remarks;
        @JSONField(name = "isChoosed")
        private boolean isChoosed;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCaption() {
            return caption;
        }

        public void setCaption(String caption) {
            this.caption = caption;
        }

        public int getCateType() {
            return cateType;
        }

        public void setCateType(int cateType) {
            this.cateType = cateType;
        }

        public Object getOrderNum() {
            return orderNum;
        }

        public void setOrderNum(Object orderNum) {
            this.orderNum = orderNum;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getShowIndex() {
            return showIndex;
        }

        public void setShowIndex(int showIndex) {
            this.showIndex = showIndex;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public int getOwner() {
            return owner;
        }

        public void setOwner(int owner) {
            this.owner = owner;
        }

        public String getShowColor() {
            return showColor;
        }

        public void setShowColor(String showColor) {
            this.showColor = showColor;
        }

        public Object getAddBy() {
            return addBy;
        }

        public void setAddBy(Object addBy) {
            this.addBy = addBy;
        }

        public Object getAddTime() {
            return addTime;
        }

        public void setAddTime(Object addTime) {
            this.addTime = addTime;
        }

        public Object getUpdateBy() {
            return updateBy;
        }

        public void setUpdateBy(Object updateBy) {
            this.updateBy = updateBy;
        }

        public Object getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(Object updateTime) {
            this.updateTime = updateTime;
        }

        public Object getParentName() {
            return parentName;
        }

        public void setParentName(Object parentName) {
            this.parentName = parentName;
        }

        public String getRemarks() {
            return remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public boolean isChoosed() {
            return isChoosed;
        }

        public void setChoosed(boolean choosed) {
            isChoosed = choosed;
        }
    }
}
